Optimal. Leaf size=270 \[ -\frac {2 \sqrt {a+\frac {b}{x^3}}}{11 b x^4}+\frac {16 a \sqrt {a+\frac {b}{x^3}}}{55 b^2 x}-\frac {32 \sqrt {2+\sqrt {3}} a^2 \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}+\frac {b^{2/3}}{x^2}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right )|-7-4 \sqrt {3}\right )}{55 \sqrt [4]{3} b^{7/3} \sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 270, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {342, 327, 224}
\begin {gather*} -\frac {32 \sqrt {2+\sqrt {3}} a^2 \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}+\frac {b^{2/3}}{x^2}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} F\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right )|-7-4 \sqrt {3}\right )}{55 \sqrt [4]{3} b^{7/3} \sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}}+\frac {16 a \sqrt {a+\frac {b}{x^3}}}{55 b^2 x}-\frac {2 \sqrt {a+\frac {b}{x^3}}}{11 b x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 224
Rule 327
Rule 342
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {a+\frac {b}{x^3}} x^8} \, dx &=-\text {Subst}\left (\int \frac {x^6}{\sqrt {a+b x^3}} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {2 \sqrt {a+\frac {b}{x^3}}}{11 b x^4}+\frac {(8 a) \text {Subst}\left (\int \frac {x^3}{\sqrt {a+b x^3}} \, dx,x,\frac {1}{x}\right )}{11 b}\\ &=-\frac {2 \sqrt {a+\frac {b}{x^3}}}{11 b x^4}+\frac {16 a \sqrt {a+\frac {b}{x^3}}}{55 b^2 x}-\frac {\left (16 a^2\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+b x^3}} \, dx,x,\frac {1}{x}\right )}{55 b^2}\\ &=-\frac {2 \sqrt {a+\frac {b}{x^3}}}{11 b x^4}+\frac {16 a \sqrt {a+\frac {b}{x^3}}}{55 b^2 x}-\frac {32 \sqrt {2+\sqrt {3}} a^2 \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}+\frac {b^{2/3}}{x^2}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right )|-7-4 \sqrt {3}\right )}{55 \sqrt [4]{3} b^{7/3} \sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.02, size = 51, normalized size = 0.19 \begin {gather*} -\frac {2 \sqrt {1+\frac {a x^3}{b}} \, _2F_1\left (-\frac {11}{6},\frac {1}{2};-\frac {5}{6};-\frac {a x^3}{b}\right )}{11 \sqrt {a+\frac {b}{x^3}} x^7} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 2008 vs. \(2 (207 ) = 414\).
time = 0.05, size = 2009, normalized size = 7.44
method | result | size |
risch | \(\frac {2 \left (a \,x^{3}+b \right ) \left (8 a \,x^{3}-5 b \right )}{55 b^{2} x^{7} \sqrt {\frac {a \,x^{3}+b}{x^{3}}}}+\frac {32 a^{3} \left (\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}-\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \sqrt {\frac {\left (-\frac {3 \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) x}{\left (-\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (x -\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{a}\right )}}\, \left (x -\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{a}\right )^{2} \sqrt {\frac {\left (-a^{2} b \right )^{\frac {1}{3}} \left (x +\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right )}{a \left (-\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}-\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (x -\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{a}\right )}}\, \sqrt {\frac {\left (-a^{2} b \right )^{\frac {1}{3}} \left (x +\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}-\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right )}{a \left (-\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (x -\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{a}\right )}}\, \EllipticF \left (\sqrt {\frac {\left (-\frac {3 \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) x}{\left (-\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (x -\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{a}\right )}}, \sqrt {\frac {\left (\frac {3 \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}-\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right )}{\left (\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (\frac {3 \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}-\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right )}}\right ) \sqrt {x \left (a \,x^{3}+b \right )}}{55 b^{2} \left (-\frac {3 \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (-a^{2} b \right )^{\frac {1}{3}} \sqrt {a x \left (x -\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{a}\right ) \left (x +\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}+\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right ) \left (x +\frac {\left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}-\frac {i \sqrt {3}\, \left (-a^{2} b \right )^{\frac {1}{3}}}{2 a}\right )}\, x^{2} \sqrt {\frac {a \,x^{3}+b}{x^{3}}}}\) | \(742\) |
default | \(\text {Expression too large to display}\) | \(2009\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.07, size = 59, normalized size = 0.22 \begin {gather*} -\frac {2 \, {\left (16 \, a^{2} \sqrt {b} x^{4} {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, \frac {1}{x}\right ) - {\left (8 \, a b x^{3} - 5 \, b^{2}\right )} \sqrt {\frac {a x^{3} + b}{x^{3}}}\right )}}{55 \, b^{3} x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.76, size = 39, normalized size = 0.14 \begin {gather*} - \frac {\Gamma \left (\frac {7}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {7}{3} \\ \frac {10}{3} \end {matrix}\middle | {\frac {b e^{i \pi }}{a x^{3}}} \right )}}{3 \sqrt {a} x^{7} \Gamma \left (\frac {10}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {1}{x^8\,\sqrt {a+\frac {b}{x^3}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________